﻿using Microsoft.Xna.Framework.Input;
using Soundteller.AudioVisual.Model;

namespace Soundteller.Phone.Facade.Mappers
{
    public static class MouseStateToPadTouchArgumentsMapper
    {
        public static PadTouchArguments Map(MouseState source)
        {
            if (source == null) return null;

            return new PadTouchArguments
            {
                X = source.X,
                Y = source.Y
            };
        }
    }
}
